-module(geometr).
-author("daqing15@163.com").

-export([area/1]).

area({rectangle, Width, Ht}) ->	Width * Ht;
area({circle, R}) -> 3.14159 * R * R;
area({squre, X})  -> X * X.


